﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERP.Manager.DataEntity
{
    /// <summary>
    /// 会员信息实体类
    /// </summary>
    public class ECS_users
    {
        //自增编号
        public int id { get; set; }

        //会员编号
        public string user_id { get; set; }

        //会员邮箱
        public string email { get; set; }

        //用户名
        public string user_name { get; set; }

        //用户密码
        public string password { get; set; }

        //安全问题答案
        public string question { get; set; }

        //安全问题
        public string answer { get; set; }

        //性别
        public int sex { get; set; }

        //生日日期
        public string birthday { get; set; }

        //用户现有资金
        public decimal user_money { get; set; }

        //用户冻结资金
        public decimal frozen_money { get; set; }

        //消费积分
        public int pay_points { get; set; }

        //会员等级积分
        public int rank_points { get; set; }

        //收货信息编号
        public string address_id { get; set; }

        //注册时间
        public int reg_time { get; set; }

        //最后一次登录时间
        public int last_login { get; set; }

        //最后一次修改信息时间
        public string last_time { get; set; }

        //最后一次登录ip
        public string last_ip { get; set; }

        //登录次数
        public int visit_count { get; set; }

        //会员登记id，取值ecs_user_rank
        public int user_rank { get; set; }

        public int is_special { get; set; }

        public string salt { get; set; }

        //推荐人会员id
        public int parent_id { get; set; }

        public int flag { get; set; }

        //昵称
        public string alias { get; set; }

        //msn
        public string msn { get; set; }

        //qq号
        public string qq { get; set; }

        //办公电话
        public string office_phone { get; set; }

        //家庭电话
        public string home_phone { get; set; }

        //手机
        public string mobile_phone { get; set; }

        public int is_validated { get; set; }

        //信用额度
        public string credit_line { get; set; }

        public string passwd_question { get; set; }

        public string passwd_answer { get; set; }
    }
}
